<?php namespace addons\search\controller;

use houdunwang\db\Db;
use houdunwang\request\Request;
use houdunwang\route\Controller;
use houdunwang\view\View;
use module\HdController;
use addons\search\model\Search;
use system\model\Article;

class Admin extends HdController {
    //动作
	public function index()
	{
		$field = Db::table('addons_search')->orderBy('click','desc')->get();
		//这里是将关键字进行循环出来
		return $this->template('',compact('field'));
	}
}
